#ifndef __ROM_LOG_H
#define __ROM_LOG_H

# include <stdio.h>
# include "botdata.h"

int LogOpen(struct BotData *botData, char *location, char *fileName);
int LogClose(struct BotData *botData);
int LogWrite(struct BotData *botData, char *logFormat, ...) __attribute__ ((format (printf, 2, 3)));   // NOT THREAD SAFE
void LogPlayer(struct BotData *botData); //NOT THREAD SAFE (calls LogWrite)

#endif //__ROM_LOG_H
